{get_user assign=user}
{if $user->id != '' && $user->id != 0} 
<div class="moduletable">
<div class="administrationmodule quicklinks yui-panels" style="text-align: left; padding-bottom: 10px; ">
	<div class="moduletable_hilite" >
		<div class="bd">		
	{permissions level=$smarty.const.UILEVEL_NORMAL}
		{if $permissions.administrate == 1}
		<h3><span>{$_TR.quicklinks}</span></h3>
		{if $can_manage_nav == 1}<a class="sitetree" href="{link module=navigationmodule action=manage}">{$_TR.manage_site}</a>{/if}
		<a class="files" href="{$smarty.const.URL_FULL}modules/filemanagermodule/actions/picker.php">{$_TR.manage_files}</a>
		<a class="admin" href="{link module=administrationmodule action=index}">{$_TR.site_administration}</a>
		{*<a id="addmodulelink" class="clicktoaddmodule" href="#">{$_TR.add_module}</a>*}
		<a class="recycle" href="{link module=administrationmodule action=orphanedcontent}">{$_TR.recycle_bin}</a>
		{chain module=previewmodule view=Default}
	{/if}
  {/permissions}
		</div>
	</div>

	{permissions level=$smarty.const.UILEVEL_NORMAL}
	<br>
	<div class="moduletable_hilite" >
			<h3><span>{$_TR.user_panel}</span></h3>
		<div class="bd">
		<a class="changepassword" href="{link module=loginmodule action=changepass}">{$_TR.change_password}</a>
		<a class="editprofile" href="{link module=loginmodule action=editprofile}">{$_TR.edit_profile}</a>
		<a class="logout" href="{link module=loginmodule action=logout}">{$_TR.logout}</a>
		</div>
	</div>
	{/permissions}
</div>
</div>
{/if}
